package com.school.entity;
import java.time.LocalDate;
import java.util.Date;

/**
 * @ClassName:Coupon
 * @Package:com.school.entity
 * @Tool: IntelliJ IDEA
 * @Date: 2025-04-21-15:31
 * @Version: 5.2.0
 */
public class Coupon {
    private Long couponId;
    private String couponName;
    private String couponDesc;
    private Integer couponTotal;
    private Integer discount;
    private Integer min;
    private Byte couponLimit;
    private Byte couponType;
    private Byte couponStatus;
    private Byte goodsType;
    private String goodsValue;
    private String couponCode;
    private LocalDate couponStartTime;
    private LocalDate couponEndTime;
    private Date createTime;
    private Date updateTime;
    private Byte isDeleted;

    public Coupon() {
    }

    public Coupon(Long couponId, String couponName, String couponDesc, Integer couponTotal, Integer discount, Integer min, Byte couponLimit, Byte couponType, Byte couponStatus, Byte goodsType, String goodsValue, String couponCode, LocalDate couponStartTime, LocalDate couponEndTime, Date createTime, Date updateTime, Byte isDeleted) {
        this.couponId = couponId;
        this.couponName = couponName;
        this.couponDesc = couponDesc;
        this.couponTotal = couponTotal;
        this.discount = discount;
        this.min = min;
        this.couponLimit = couponLimit;
        this.couponType = couponType;
        this.couponStatus = couponStatus;
        this.goodsType = goodsType;
        this.goodsValue = goodsValue;
        this.couponCode = couponCode;
        this.couponStartTime = couponStartTime;
        this.couponEndTime = couponEndTime;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.isDeleted = isDeleted;
    }

    /**
     * 获取
     * @return couponId
     */
    public Long getCouponId() {
        return couponId;
    }

    /**
     * 设置
     * @param couponId
     */
    public void setCouponId(Long couponId) {
        this.couponId = couponId;
    }

    /**
     * 获取
     * @return couponName
     */
    public String getCouponName() {
        return couponName;
    }

    /**
     * 设置
     * @param couponName
     */
    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }

    /**
     * 获取
     * @return couponDesc
     */
    public String getCouponDesc() {
        return couponDesc;
    }

    /**
     * 设置
     * @param couponDesc
     */
    public void setCouponDesc(String couponDesc) {
        this.couponDesc = couponDesc;
    }

    /**
     * 获取
     * @return couponTotal
     */
    public Integer getCouponTotal() {
        return couponTotal;
    }

    /**
     * 设置
     * @param couponTotal
     */
    public void setCouponTotal(Integer couponTotal) {
        this.couponTotal = couponTotal;
    }

    /**
     * 获取
     * @return discount
     */
    public Integer getDiscount() {
        return discount;
    }

    /**
     * 设置
     * @param discount
     */
    public void setDiscount(Integer discount) {
        this.discount = discount;
    }

    /**
     * 获取
     * @return min
     */
    public Integer getMin() {
        return min;
    }

    /**
     * 设置
     * @param min
     */
    public void setMin(Integer min) {
        this.min = min;
    }

    /**
     * 获取
     * @return couponLimit
     */
    public Byte getCouponLimit() {
        return couponLimit;
    }

    /**
     * 设置
     * @param couponLimit
     */
    public void setCouponLimit(Byte couponLimit) {
        this.couponLimit = couponLimit;
    }

    /**
     * 获取
     * @return couponType
     */
    public Byte getCouponType() {
        return couponType;
    }

    /**
     * 设置
     * @param couponType
     */
    public void setCouponType(Byte couponType) {
        this.couponType = couponType;
    }

    /**
     * 获取
     * @return couponStatus
     */
    public Byte getCouponStatus() {
        return couponStatus;
    }

    /**
     * 设置
     * @param couponStatus
     */
    public void setCouponStatus(Byte couponStatus) {
        this.couponStatus = couponStatus;
    }

    /**
     * 获取
     * @return goodsType
     */
    public Byte getGoodsType() {
        return goodsType;
    }

    /**
     * 设置
     * @param goodsType
     */
    public void setGoodsType(Byte goodsType) {
        this.goodsType = goodsType;
    }

    /**
     * 获取
     * @return goodsValue
     */
    public String getGoodsValue() {
        return goodsValue;
    }

    /**
     * 设置
     * @param goodsValue
     */
    public void setGoodsValue(String goodsValue) {
        this.goodsValue = goodsValue;
    }

    /**
     * 获取
     * @return couponCode
     */
    public String getCouponCode() {
        return couponCode;
    }

    /**
     * 设置
     * @param couponCode
     */
    public void setCouponCode(String couponCode) {
        this.couponCode = couponCode;
    }

    /**
     * 获取
     * @return couponStartTime
     */
    public LocalDate getCouponStartTime() {
        return couponStartTime;
    }

    /**
     * 设置
     * @param couponStartTime
     */
    public void setCouponStartTime(LocalDate couponStartTime) {
        this.couponStartTime = couponStartTime;
    }

    /**
     * 获取
     * @return couponEndTime
     */
    public LocalDate getCouponEndTime() {
        return couponEndTime;
    }

    /**
     * 设置
     * @param couponEndTime
     */
    public void setCouponEndTime(LocalDate couponEndTime) {
        this.couponEndTime = couponEndTime;
    }

    /**
     * 获取
     * @return createTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return updateTime
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置
     * @param updateTime
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取
     * @return isDeleted
     */
    public Byte getIsDeleted() {
        return isDeleted;
    }

    /**
     * 设置
     * @param isDeleted
     */
    public void setIsDeleted(Byte isDeleted) {
        this.isDeleted = isDeleted;
    }

    public String toString() {
        return "Coupon{couponId = " + couponId + ", couponName = " + couponName + ", couponDesc = " + couponDesc + ", couponTotal = " + couponTotal + ", discount = " + discount + ", min = " + min + ", couponLimit = " + couponLimit + ", couponType = " + couponType + ", couponStatus = " + couponStatus + ", goodsType = " + goodsType + ", goodsValue = " + goodsValue + ", couponCode = " + couponCode + ", couponStartTime = " + couponStartTime + ", couponEndTime = " + couponEndTime + ", createTime = " + createTime + ", updateTime = " + updateTime + ", isDeleted = " + isDeleted + "}";
    }
}
